package cn.com.chengmandian.xh.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author AutoGenerator
 */
@Getter
@Setter
@TableName("sys_message_log")
@ApiModel(value = "SysMessageLog对象", description = "")
public class SysMessageLog implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("用户ID")
    private Integer userId;

    @ApiModelProperty("推送方案id")
    private Integer pushId;

    @ApiModelProperty("是否已读（0：否，1是）")
    private Integer isRead;

    @ApiModelProperty("是否删除：0.否(默认)1.是")
    @TableLogic(value = "0" ,delval = "1")
    private Integer isDeleted;

    @ApiModelProperty("推送标题")
    private String messageTitle;

    @ApiModelProperty("推送内容")
    private String messageContent;

    @ApiModelProperty("消息关系类型（1:系统消息，2：支付押金，3：购买套餐，4：退还押金，5：套餐完成,6租赁码）")
    private Integer messageType;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("更新时间")
    private Date modifyTime;

}
